]> dgit.raspbian.org Git - ocaml-cohttp.git/commitdiff
Increase timeout in tests to cope with slowness of riscv64
authorStephane Glondu <steph@glondu.net>
Mon, 16 Mar 2026 07:11:08 +0000 (08:11 +0100)
committerStéphane Glondu <glondu@debian.org>
Fri, 18 Sep 2026 06:37:04 +0000 (08:37 +0200)
Gbp-Pq: Name 0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch

cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml

index 096f32a5bad8c8f47f318fc8893ecafb867c70e2..af997dd2cf59e78b05e9adb8cf1d87515cbb016c 100644 (file)
@@ -40,7 +40,7 @@ let temp_server ?port spec callback =
             Lwt.wakeup_exn server_failed_wake exn;
             Lwt.reraise exn)
   in
-  Lwt.pick [ Lwt_unix.with_timeout 5.0 (fun () -> callback uri); server_failed ]
+  Lwt.pick [ Lwt_unix.with_timeout 10.0 (fun () -> callback uri); server_failed ]
   >|= fun res ->
   Lwt.cancel server;
   res